package com.bs.manager04.service.impl;

import com.bs.manager04.entity.Role;
import com.bs.manager04.mapper.RoleMapper;
import com.bs.manager04.service.IRoleService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 * 角色管理表 服务实现类
 * </p>
 *
 * @author yao
 * @since 2022-12-17
 */
@Service
public class RoleServiceImpl extends ServiceImpl<RoleMapper, Role> implements IRoleService {

    @Resource
    RoleMapper mapper;
    @Override
    public List<Role> addRoles(String userid) {
        return mapper.addRoles(userid);
    }
}
